import request from '@/utils/request'

export function getList(params) {
  console.log(params)
  return request({
    url: '/user/getUserList',
    method: 'post',
    data: params
  })
}

export function updateUser(params) {
  return request({
    url: '/user/updateUser',
    method: 'post',
    data: params
  })
}

export function selectUserByName(params) {
  return request({
    url: '/user/selectAddFood',
    method: 'post',
    data: params
  })
}

export function deleteUser(params) {
  return request({
    url: '/user/deleteUser',
    method: 'post',
    data: params
  })

}
